package cn.taketoday.live.data;

import java.io.Serializable;

import lombok.Data;

/**
 * @author TODAY
 */
@Data
public class AutoReply implements Serializable {
  private static final long serialVersionUID = 1L;

  private Long uid;
  private String name;
  private String barrage;

  public static AutoReply of(Long uid, String name, String barrage) {
    final AutoReply autoReply = new AutoReply();
    autoReply.setUid(uid);
    autoReply.setName(name);
    autoReply.setBarrage(barrage);
    return autoReply;
  }

}
